import request from '@/utils/request'
import { ResultHrInfoVo, DeepRequired } from '../../interface'

/**
 * 根据ID获取hr
 * /hr/one/{id}
 */
export function getHrOneById(params: GetHrOneByIdParams) {
  return request.get<DeepRequired<ResultHrInfoVo>>(`/hr/one/${params.id}`)
}

interface GetHrOneByIdParams {
  id: number
}
